package com.example.community.utils;

/**
 * 常量接口
 */
public interface CommunityConstant {
    //几种激活状态
    int ACTIVATION_SUCCESS = 0;
    int ACTIVATION_REPEAT = 1;
    int ACTIVATION_FAILURE = 2;

    //默认的登录凭证的超时时间
    int DEFAULT_EXPIRED_SECONDS = 3600 * 12;
    //记住我情况下的超时时间
    int REMEMBER_EXPIRED_SECONDS = 3600 * 24 * 100;
    /**
     * 实体类型
     */
    int ENTITY_TYPE_POST = 1;
    int ENTITY_TYPE_COMMENT = 2;

}
